package com.intelligent.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.pojo.CustomerReconciliationDetail;
import com.intelligent.vo.ReconciliationDetailPageReq;
import com.intelligent.vo.ReconciliationDetailResp;

public interface CustomerReconciliationDetailService extends IService<CustomerReconciliationDetail> {

    boolean addDetail(CustomerReconciliationDetail detail);

    Page<ReconciliationDetailResp> pageDetails(ReconciliationDetailPageReq req);

    ReconciliationDetailResp getDetail(Long id);

    // 根据对账单生成明细
    void generateFromReconciliation(Long reconciliationId);
}
